package ssm.service;

import org.springframework.stereotype.Service;
import ssm.domain.Permission;

import java.util.List;


public interface IPermissionService {

    public List<Permission> findAll() throws Exception;

    void save(Permission permission);

    Permission findById(String id) throws Exception;

    void deleteById(String id) throws Exception;
}
